package com.myphoto.base.enumtype;

public enum MsgEnum {

    LOGIN_SUCCESS("登录成功！"),
    QUERY_SUCCESS("查询成功！"),
    SAVE_SUCCESS("保存成功！"),
    DELETE_SUCCESS("删除成功！"),
    OPRATE_SUCCESS("操作成功！"),
    ADD_SUCCESS("添加成功！"),
    UPDATE_SUCCESS("修改成功！"),
    UPLOAD_SUCCESS("上传成功！"),
    SYSTEM_ERROR("系统错误，操作失败！"),
    PARAM_ERROR("非法参数！");

    private String msg;

    MsgEnum(String msg){this.msg=msg;}

    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
